public class SeafoodPizza extends Pizza {
    private String burdening;
    private String name;
    public SeafoodPizza() {
    }

    public SeafoodPizza( String burdening) {

        this.burdening = burdening;
    }
    public String getName(){
        return this.name="海鲜披萨";
    }
    public String getBurdening() {
        return burdening;
    }

    public void setBurdening(String burdening) {
        this.burdening = burdening;
    }

    @Override
    public String showInfo() {
        String msg= super.showInfo();
        return msg.concat("\n配料："+getBurdening());
    }
}
